<%@ include file="../init.jsp"%>
<spring:message code="text-insert-news"/>
<c:if test="${last_msg!=null}"><span class="captchaError"><spring:message code="text-captcha-error"/></span></c:if>
<br/>
<portlet:actionURL var="insertUrl">
	<portlet:param name="action" value="insertNews" />
</portlet:actionURL>

<aui:form method="post" action="${insertUrl}">
<table class="width100">
	<tr>
		<td class="width100" align="center">
			<textarea class="width100 height100" name="newsText">${last_msg}</textarea>
		</td>
		<td style="width:1px; padding-left: 2em" align="center">
			<portlet:resourceURL var="captchaURL"/>
			<liferay-ui:captcha url="${captchaURL}"/>
			<input style="width: 100%;" type="submit" value="<spring:message code="button-insert-news"/>">
			
		</td>
	</tr>
</table>
</aui:form>


